package com.designpatterns.behavioral.bridge;

/**
 * PNG格式图像类，充当扩充抽象类
 */
public class PNGImage extends Image {
    @Override
    public void parseFile(String filename) {
        Matrix m = new Matrix();
        imp.doPaint(m);
        System.out.println(filename + ",格式为PNG.");
    }
}
